package com.itheima.service;

import com.itheima.pojo.ClazzOption;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.StuQueryParam;
import com.itheima.pojo.Student;

import java.util.List;
import java.util.Map;

public interface StuService {
    PageResult listByPage(StuQueryParam stuQueryParam);

    void saveStu(Student student);

    Student findById(Integer id);

    void updateStu(Student student);

    void delByIds(List<Integer> ids);

    void updateViolation(Integer id, Integer score);

    List<Map> getDegree();

    ClazzOption getStuCount();
}
